3.353 \(\int \frac{c+d x+e x^2}{(a+b x^3)^3} \, dx\)

Optimal. Leaf size=225 \[ -\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{8/3} b^{2/3}}+\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{8/3} b^{2/3}}-\frac{\left (2 \sqrt [3]{a} d+5 \sqrt [3]{b} c\right ) \tan ^{-1}\left (\frac{\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt{3} \sqrt [3]{a}}\right )}{9 \sqrt{3} a^{8/3} b^{2/3}}+\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2} \]

[Out]

(x*(5*c + 4*d*x))/(18*a^2*(a + b*x^3)) - (a*e - b*x*(c + d*x))/(6*a*b*(a + b*x^3)^2) - ((5*b^(1/3)*c + 2*a^(1/
3)*d)*ArcTan[(a^(1/3) - 2*b^(1/3)*x)/(Sqrt[3]*a^(1/3))])/(9*Sqrt[3]*a^(8/3)*b^(2/3)) + ((5*b^(1/3)*c - 2*a^(1/
3)*d)*Log[a^(1/3) + b^(1/3)*x])/(27*a^(8/3)*b^(2/3)) - ((5*b^(1/3)*c - 2*a^(1/3)*d)*Log[a^(2/3) - a^(1/3)*b^(1
/3)*x + b^(2/3)*x^2])/(54*a^(8/3)*b^(2/3))

________________________________________________________________________________________

Rubi [A]  time = 0.188495, antiderivative size = 225, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.4, Rules used = {1854, 1855, 1860, 31, 634, 617, 204, 628} \[ -\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{8/3} b^{2/3}}+\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{8/3} b^{2/3}}-\frac{\left (2 \sqrt [3]{a} d+5 \sqrt [3]{b} c\right ) \tan ^{-1}\left (\frac{\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt{3} \sqrt [3]{a}}\right )}{9 \sqrt{3} a^{8/3} b^{2/3}}+\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2} \]

Antiderivative was successfully verified.

[In]

Int[(c + d*x + e*x^2)/(a + b*x^3)^3,x]

[Out]

(x*(5*c + 4*d*x))/(18*a^2*(a + b*x^3)) - (a*e - b*x*(c + d*x))/(6*a*b*(a + b*x^3)^2) - ((5*b^(1/3)*c + 2*a^(1/
3)*d)*ArcTan[(a^(1/3) - 2*b^(1/3)*x)/(Sqrt[3]*a^(1/3))])/(9*Sqrt[3]*a^(8/3)*b^(2/3)) + ((5*b^(1/3)*c - 2*a^(1/
3)*d)*Log[a^(1/3) + b^(1/3)*x])/(27*a^(8/3)*b^(2/3)) - ((5*b^(1/3)*c - 2*a^(1/3)*d)*Log[a^(2/3) - a^(1/3)*b^(1
/3)*x + b^(2/3)*x^2])/(54*a^(8/3)*b^(2/3))

Rule 1854

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], i}, Simp[((a*Coeff[Pq, x, q] -
 b*x*ExpandToSum[Pq - Coeff[Pq, x, q]*x^q, x])*(a + b*x^n)^(p + 1))/(a*b*n*(p + 1)), x] + Dist[1/(a*n*(p + 1))
, Int[Sum[(n*(p + 1) + i + 1)*Coeff[Pq, x, i]*x^i, {i, 0, q - 1}]*(a + b*x^n)^(p + 1), x], x] /; q == n - 1] /
; FreeQ[{a, b}, x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1]

Rule 1855

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> -Simp[(x*Pq*(a + b*x^n)^(p + 1))/(a*n*(p + 1)), x] + Di
st[1/(a*n*(p + 1)), Int[ExpandToSum[n*(p + 1)*Pq + D[x*Pq, x], x]*(a + b*x^n)^(p + 1), x], x] /; FreeQ[{a, b},
 x] && PolyQ[Pq, x] && IGtQ[n, 0] && LtQ[p, -1] && LtQ[Expon[Pq, x], n - 1]

Rule 1860

Int[((A_) + (B_.)*(x_))/((a_) + (b_.)*(x_)^3), x_Symbol] :> With[{r = Numerator[Rt[a/b, 3]], s = Denominator[R
t[a/b, 3]]}, -Dist[(r*(B*r - A*s))/(3*a*s), Int[1/(r + s*x), x], x] + Dist[r/(3*a*s), Int[(r*(B*r + 2*A*s) + s
*(B*r - A*s)*x)/(r^2 - r*s*x + s^2*x^2), x], x]] /; FreeQ[{a, b, A, B}, x] && NeQ[a*B^3 - b*A^3, 0] && PosQ[a/
b]

Rule 31

Int[((a_) + (b_.)*(x_))^(-1), x_Symbol] :> Simp[Log[RemoveContent[a + b*x, x]]/b, x] /; FreeQ[{a, b}, x]

Rule 634

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 617

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[(a*c)/b^2]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + (2*c*x)/b], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 628

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[(d*Log[RemoveContent[a + b*x +
c*x^2, x]])/b, x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rubi steps

\begin{align*} \int \frac{c+d x+e x^2}{\left (a+b x^3\right )^3} \, dx &=-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2}-\frac{\int \frac{-5 c-4 d x}{\left (a+b x^3\right )^2} \, dx}{6 a}\\ &=\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2}+\frac{\int \frac{10 c+4 d x}{a+b x^3} \, dx}{18 a^2}\\ &=\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2}+\frac{\int \frac{\sqrt [3]{a} \left (20 \sqrt [3]{b} c+4 \sqrt [3]{a} d\right )+\sqrt [3]{b} \left (-10 \sqrt [3]{b} c+4 \sqrt [3]{a} d\right ) x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{54 a^{8/3} \sqrt [3]{b}}+\frac{\left (5 c-\frac{2 \sqrt [3]{a} d}{\sqrt [3]{b}}\right ) \int \frac{1}{\sqrt [3]{a}+\sqrt [3]{b} x} \, dx}{27 a^{8/3}}\\ &=\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2}+\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{8/3} b^{2/3}}-\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \int \frac{-\sqrt [3]{a} \sqrt [3]{b}+2 b^{2/3} x}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{54 a^{8/3} b^{2/3}}+\frac{\left (5 \sqrt [3]{b} c+2 \sqrt [3]{a} d\right ) \int \frac{1}{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2} \, dx}{18 a^{7/3} \sqrt [3]{b}}\\ &=\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2}+\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{8/3} b^{2/3}}-\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{8/3} b^{2/3}}+\frac{\left (5 \sqrt [3]{b} c+2 \sqrt [3]{a} d\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a}}\right )}{9 a^{8/3} b^{2/3}}\\ &=\frac{x (5 c+4 d x)}{18 a^2 \left (a+b x^3\right )}-\frac{a e-b x (c+d x)}{6 a b \left (a+b x^3\right )^2}-\frac{\left (5 \sqrt [3]{b} c+2 \sqrt [3]{a} d\right ) \tan ^{-1}\left (\frac{\sqrt [3]{a}-2 \sqrt [3]{b} x}{\sqrt{3} \sqrt [3]{a}}\right )}{9 \sqrt{3} a^{8/3} b^{2/3}}+\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{27 a^{8/3} b^{2/3}}-\frac{\left (5 \sqrt [3]{b} c-2 \sqrt [3]{a} d\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )}{54 a^{8/3} b^{2/3}}\\ \end{align*}

Mathematica [A]  time = 0.286109, size = 213, normalized size = 0.95 \[ \frac{\frac{3 a \left (-3 a^2 e+a b x (8 c+7 d x)+b^2 x^4 (5 c+4 d x)\right )}{\left (a+b x^3\right )^2}+\sqrt [3]{a} \sqrt [3]{b} \left (2 \sqrt [3]{a} d-5 \sqrt [3]{b} c\right ) \log \left (a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2\right )+2 \sqrt [3]{b} \left (5 \sqrt [3]{a} \sqrt [3]{b} c-2 a^{2/3} d\right ) \log \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )-2 \sqrt{3} \sqrt [3]{a} \sqrt [3]{b} \left (2 \sqrt [3]{a} d+5 \sqrt [3]{b} c\right ) \tan ^{-1}\left (\frac{1-\frac{2 \sqrt [3]{b} x}{\sqrt [3]{a}}}{\sqrt{3}}\right )}{54 a^3 b} \]

Antiderivative was successfully verified.

[In]

Integrate[(c + d*x + e*x^2)/(a + b*x^3)^3,x]

[Out]

((3*a*(-3*a^2*e + b^2*x^4*(5*c + 4*d*x) + a*b*x*(8*c + 7*d*x)))/(a + b*x^3)^2 - 2*Sqrt[3]*a^(1/3)*b^(1/3)*(5*b
^(1/3)*c + 2*a^(1/3)*d)*ArcTan[(1 - (2*b^(1/3)*x)/a^(1/3))/Sqrt[3]] + 2*b^(1/3)*(5*a^(1/3)*b^(1/3)*c - 2*a^(2/
3)*d)*Log[a^(1/3) + b^(1/3)*x] + a^(1/3)*b^(1/3)*(-5*b^(1/3)*c + 2*a^(1/3)*d)*Log[a^(2/3) - a^(1/3)*b^(1/3)*x
+ b^(2/3)*x^2])/(54*a^3*b)

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 308, normalized size = 1.4 \begin{align*}{\frac{cx}{6\,a \left ( b{x}^{3}+a \right ) ^{2}}}+{\frac{5\,cx}{18\,{a}^{2} \left ( b{x}^{3}+a \right ) }}+{\frac{5\,c}{27\,b{a}^{2}}\ln \left ( x+\sqrt [3]{{\frac{a}{b}}} \right ) \left ({\frac{a}{b}} \right ) ^{-{\frac{2}{3}}}}-{\frac{5\,c}{54\,b{a}^{2}}\ln \left ({x}^{2}-\sqrt [3]{{\frac{a}{b}}}x+ \left ({\frac{a}{b}} \right ) ^{{\frac{2}{3}}} \right ) \left ({\frac{a}{b}} \right ) ^{-{\frac{2}{3}}}}+{\frac{5\,c\sqrt{3}}{27\,b{a}^{2}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{x{\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}-1 \right ) } \right ) \left ({\frac{a}{b}} \right ) ^{-{\frac{2}{3}}}}+{\frac{d{x}^{2}}{6\,a \left ( b{x}^{3}+a \right ) ^{2}}}+{\frac{2\,d{x}^{2}}{9\,{a}^{2} \left ( b{x}^{3}+a \right ) }}-{\frac{2\,d}{27\,b{a}^{2}}\ln \left ( x+\sqrt [3]{{\frac{a}{b}}} \right ){\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}+{\frac{d}{27\,b{a}^{2}}\ln \left ({x}^{2}-\sqrt [3]{{\frac{a}{b}}}x+ \left ({\frac{a}{b}} \right ) ^{{\frac{2}{3}}} \right ){\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}+{\frac{2\,d\sqrt{3}}{27\,b{a}^{2}}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{x{\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}-1 \right ) } \right ){\frac{1}{\sqrt [3]{{\frac{a}{b}}}}}}+{\frac{e{x}^{3}}{6\,a \left ( b{x}^{3}+a \right ) ^{2}}}-{\frac{e}{6\,ab \left ( b{x}^{3}+a \right ) }} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x^2+d*x+c)/(b*x^3+a)^3,x)

[Out]

1/6*c/a*x/(b*x^3+a)^2+5/18*c/a^2*x/(b*x^3+a)+5/27*c/a^2/b/(1/b*a)^(2/3)*ln(x+(1/b*a)^(1/3))-5/54*c/a^2/b/(1/b*
a)^(2/3)*ln(x^2-(1/b*a)^(1/3)*x+(1/b*a)^(2/3))+5/27*c/a^2/b/(1/b*a)^(2/3)*3^(1/2)*arctan(1/3*3^(1/2)*(2/(1/b*a
)^(1/3)*x-1))+1/6*d/a*x^2/(b*x^3+a)^2+2/9*d/a^2*x^2/(b*x^3+a)-2/27*d/a^2/b/(1/b*a)^(1/3)*ln(x+(1/b*a)^(1/3))+1
/27*d/a^2/b/(1/b*a)^(1/3)*ln(x^2-(1/b*a)^(1/3)*x+(1/b*a)^(2/3))+2/27*d/a^2*3^(1/2)/b/(1/b*a)^(1/3)*arctan(1/3*
3^(1/2)*(2/(1/b*a)^(1/3)*x-1))+1/6*e/a*x^3/(b*x^3+a)^2-1/6*e/a/b/(b*x^3+a)

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d*x+c)/(b*x^3+a)^3,x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [C]  time = 8.38672, size = 5612, normalized size = 24.94 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d*x+c)/(b*x^3+a)^3,x, algorithm="fricas")

[Out]

1/108*(24*b^2*d*x^5 + 30*b^2*c*x^4 + 42*a*b*d*x^2 + 48*a*b*c*x - 18*a^2*e - 2*(a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a
^4*b)*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) -
 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2)
)^(1/3)))*log(1/2*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b
^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^
3)/(a^8*b^2))^(1/3)))^2*a^6*b*d - 25/2*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*
c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2)
+ (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))*a^3*b*c^2 + 40*a*c*d^2 + (125*b*c^3 + 8*a*d^3)*x) + ((a^2*b^3*x^6 +
 2*a^3*b^2*x^3 + a^4*b)*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/
(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 -
8*a*d^3)/(a^8*b^2))^(1/3))) + 3*sqrt(1/3)*(a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a^4*b)*sqrt(-(((1/2)^(1/3)*(I*sqrt(3)
 + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(
3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))^2*a^5*b + 160*c*d)/
(a^5*b)))*log(-1/2*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*
b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d
^3)/(a^8*b^2))^(1/3)))^2*a^6*b*d + 25/2*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b
*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2)
 + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))*a^3*b*c^2 - 40*a*c*d^2 + 2*(125*b*c^3 + 8*a*d^3)*x + 3/2*sqrt(1/3)
*(((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*
(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1
/3)))*a^6*b*d + 25*a^3*b*c^2)*sqrt(-(((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^
3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) +
(125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))^2*a^5*b + 160*c*d)/(a^5*b))) + ((a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a^4*b)
*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(
1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/
3))) - 3*sqrt(1/3)*(a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a^4*b)*sqrt(-(((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a
*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*
c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))^2*a^5*b + 160*c*d)/(a^5*b)))*log(-1/2*((1/
2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^
(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))^
2*a^6*b*d + 25/2*((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^
2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3
)/(a^8*b^2))^(1/3)))*a^3*b*c^2 - 40*a*c*d^2 + 2*(125*b*c^3 + 8*a*d^3)*x - 3/2*sqrt(1/3)*(((1/2)^(1/3)*(I*sqrt(
3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqr
t(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))^(1/3)))*a^6*b*d + 25*a^3*
b*c^2)*sqrt(-(((1/2)^(1/3)*(I*sqrt(3) + 1)*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(a^8*b^2))
^(1/3) - 20*(1/2)^(2/3)*c*d*(-I*sqrt(3) + 1)/(a^5*b*((125*b*c^3 + 8*a*d^3)/(a^8*b^2) + (125*b*c^3 - 8*a*d^3)/(
a^8*b^2))^(1/3)))^2*a^5*b + 160*c*d)/(a^5*b))))/(a^2*b^3*x^6 + 2*a^3*b^2*x^3 + a^4*b)

________________________________________________________________________________________

Sympy [A]  time = 2.11682, size = 163, normalized size = 0.72 \begin{align*} \operatorname{RootSum}{\left (19683 t^{3} a^{8} b^{2} + 810 t a^{3} b c d + 8 a d^{3} - 125 b c^{3}, \left ( t \mapsto t \log{\left (x + \frac{1458 t^{2} a^{6} b d + 675 t a^{3} b c^{2} + 40 a c d^{2}}{8 a d^{3} + 125 b c^{3}} \right )} \right )\right )} + \frac{- 3 a^{2} e + 8 a b c x + 7 a b d x^{2} + 5 b^{2} c x^{4} + 4 b^{2} d x^{5}}{18 a^{4} b + 36 a^{3} b^{2} x^{3} + 18 a^{2} b^{3} x^{6}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x**2+d*x+c)/(b*x**3+a)**3,x)

[Out]

RootSum(19683*_t**3*a**8*b**2 + 810*_t*a**3*b*c*d + 8*a*d**3 - 125*b*c**3, Lambda(_t, _t*log(x + (1458*_t**2*a
**6*b*d + 675*_t*a**3*b*c**2 + 40*a*c*d**2)/(8*a*d**3 + 125*b*c**3)))) + (-3*a**2*e + 8*a*b*c*x + 7*a*b*d*x**2
 + 5*b**2*c*x**4 + 4*b**2*d*x**5)/(18*a**4*b + 36*a**3*b**2*x**3 + 18*a**2*b**3*x**6)

________________________________________________________________________________________

Giac [A]  time = 1.12697, size = 301, normalized size = 1.34 \begin{align*} -\frac{{\left (2 \, d \left (-\frac{a}{b}\right )^{\frac{1}{3}} + 5 \, c\right )} \left (-\frac{a}{b}\right )^{\frac{1}{3}} \log \left ({\left | x - \left (-\frac{a}{b}\right )^{\frac{1}{3}} \right |}\right )}{27 \, a^{3}} + \frac{\sqrt{3}{\left (5 \, \left (-a b^{2}\right )^{\frac{1}{3}} b c - 2 \, \left (-a b^{2}\right )^{\frac{2}{3}} d\right )} \arctan \left (\frac{\sqrt{3}{\left (2 \, x + \left (-\frac{a}{b}\right )^{\frac{1}{3}}\right )}}{3 \, \left (-\frac{a}{b}\right )^{\frac{1}{3}}}\right )}{27 \, a^{3} b^{2}} + \frac{4 \, b^{2} d x^{5} + 5 \, b^{2} c x^{4} + 7 \, a b d x^{2} + 8 \, a b c x - 3 \, a^{2} e}{18 \,{\left (b x^{3} + a\right )}^{2} a^{2} b} + \frac{{\left (5 \, \left (-a b^{2}\right )^{\frac{1}{3}} a b^{3} c + 2 \, \left (-a b^{2}\right )^{\frac{2}{3}} a b^{2} d\right )} \log \left (x^{2} + x \left (-\frac{a}{b}\right )^{\frac{1}{3}} + \left (-\frac{a}{b}\right )^{\frac{2}{3}}\right )}{54 \, a^{4} b^{4}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d*x+c)/(b*x^3+a)^3,x, algorithm="giac")

[Out]

-1/27*(2*d*(-a/b)^(1/3) + 5*c)*(-a/b)^(1/3)*log(abs(x - (-a/b)^(1/3)))/a^3 + 1/27*sqrt(3)*(5*(-a*b^2)^(1/3)*b*
c - 2*(-a*b^2)^(2/3)*d)*arctan(1/3*sqrt(3)*(2*x + (-a/b)^(1/3))/(-a/b)^(1/3))/(a^3*b^2) + 1/18*(4*b^2*d*x^5 +
5*b^2*c*x^4 + 7*a*b*d*x^2 + 8*a*b*c*x - 3*a^2*e)/((b*x^3 + a)^2*a^2*b) + 1/54*(5*(-a*b^2)^(1/3)*a*b^3*c + 2*(-
a*b^2)^(2/3)*a*b^2*d)*log(x^2 + x*(-a/b)^(1/3) + (-a/b)^(2/3))/(a^4*b^4)